import {
  createApp
} from "vue";
import App from './App.vue'
// import ItemList from "./components/item-list.vue";

import BaseListRender from "./components/BaseListRender.vue";
import BaseComponentEvent from "./components/BaseComponentEvent.vue";
import BaseComponentCustom from './components/BaseComponentCustom.vue'
import {createRouter, createWebHashHistory} from 'vue-router'


const routes = [{
  name: 'home',
  path: '/',
  component: App
}, {
  name: 'list',
  path: '/list',
  component: BaseListRender
},{
  name: 'event',
  path: '/event',
  component: BaseComponentEvent
}]
var router = createRouter({
  history: createWebHashHistory(),
  routes: routes
})

var app = createApp(App)

app.use(router).mount("#app");